﻿using EnetaMvc.Core.Domain.News;
using EnetaMvc.Infrastructure;

namespace EnetaMvc.Core.Repositories
{
    public interface IArticleRepository
    {
        PagedResult<Article> ListPublishedArticles(int page, int pageSize);
        Article GetPublishedArticleById(long id);
        Article GetArticleById(long id);
        void SaveArticle(Article article);
    }
}
